package com.designpatterns.strategy.user;

import com.designpatterns.strategy.impl.FlyWithWings;
import com.designpatterns.strategy.impl.Quack;

public class MallardDuck extends Duck {
	public MallardDuck() {
		setFlyBehaviour(new FlyWithWings());
		setQuackBehaviour(new Quack());
	}

	@Override
	public void display() {
		System.out.println("I am Mallard Duck");
	}
	
	
}
